package com.ty.init.mapper;

import com.ty.init.pojo.Product;
import com.ty.init.uitl.Vo.IncomeVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author ty
 */
public interface ProductMapper {
    public List<Product> findAllProduct();
    public List<Product> findProductLimit(Integer start , Integer limit);
    public Product findByID(Integer id);
    public Integer productUpdate(Integer id,String itemType,Integer price,Integer categoryId,String sellPoint,
                                 String modifiedUser,
                                 @Param("modifiedTime") Date modifiedTime);
    public List<IncomeVo> incomeMessage();
}
